package com.chinacoal.hr.levelapi.client.fallback;

import com.chinacoal.hr.levelapi.client.OrganizationClient;
import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultCode;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;

/**
 * Created by jinyabin on 2020/10/29.
 */
public class OrganizationClientFallback implements OrganizationClient {
    @Override
    public Result orgList(String parentOrgId, String isdept) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }
}
